<?php

namespace Yxy\YJwt;

use Illuminate\Support\ServiceProvider;

class YJwtProvider extends ServiceProvider
{
    public function boot()
    {
        if (!file_exists(config_path('yjwt.php'))){
            // 发布配置文件
            $this->publishes([
                __DIR__ . '/config/yjwt.php' => config_path('yjwt.php'),
            ], 'laravel-assets');
        }

    }
}